<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main"/>
        <title>Login</title>
        <g:javascript>
            Rico.onLoad(function() {
                $("mainBody").addClassName("hideboth");
            });
        </g:javascript>
    </head>
    <body>
        <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
        </g:if>
        <g:form action="signIn">
            <input type="hidden" name="targetUri" value="${targetUri}"/>
            <table class="full">
                <tbody>
                    <tr>
                        <td><label>Username:</label></td>
                        <td><input type="text" name="username" value="${username}"/></td>
                    </tr>
                    <tr>
                        <td><label>Password:</label></td>
                        <td><input type="password" name="password" value=""/></td>
                    </tr>
                    <tr>
                        <td><label>Remember me?:</label></td>
                        <td><g:checkBox name="rememberMe" value="${rememberMe}"/></td>
                    </tr>
                    <tr>
                        <td/>
                        <td><input type="submit" value="Sign in"/></td>
                    </tr>
                </tbody>
            </table>
        </g:form>
    </body>
</html>
